import axios from 'axios'

//登录请求
export const login = (data) => axios({
        url: "/api/login/cellphone",
        method: "post",
        data,
    })
    //歌单请求
export const getSonglist = () => axios({
        url: "/api/top/playlist",
    })
    //歌单的歌曲列表
export const getMusiclist = () => axios({
        url: "/api/recommend/songs",
    })
    //播放歌曲
export const bofang = (data) => axios.get('/api/song/url', {
    params: data
})